package com.chushouya.product.dto.admin.series;

import com.general.framework.core.enums.StatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("品牌系列列表")
public class SeriesListDTO {

    @ApiModelProperty("品牌ID")
    private Long seriesId;

    @ApiModelProperty("品牌名称")
    private String seriesName;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态")
    private String statusDesc;

    public String getStatusDesc() {
        return StatusEnum.getDesc(this.status);
    }

}
